package com.baizhi.service;

import com.baizhi.dto.GroupsDTO;
import com.baizhi.entity.Group;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface GroupService extends IService<Group> {

    List<Group> queryAll();

    Group add(GroupsDTO groupsDTO);

    Group queryById(Long id);
}
